const automator = require('miniprogram-automator')


exports.launchCli =  function({projectPath,env}){
    let cliPath = env.WX_CLI_PATH
    let launchOptions = {
        projectPath, // 项目文件地址
    }
    if(cliPath){
        launchOptions.cliPath = cliPath
    }
    automator.launch(launchOptions)
}
